import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userPhoto: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic1.zhimg.com%2F50%2Fv2-6689d6efa917e4f033248f74a7795f19_hd.jpg&refer=http%3A%2F%2Fpic1.zhimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1661661526&t=84ec4ec280f12c49fcf691ea6aceb24eS'
  },
  mutations: {
    SET_USRPHOTO (state, value) {
      state.userPhoto = value
    }

  },
  actions: {
  },
  modules: {
  }
})
